How to create a JSON Object {"x":"16","y":"XXXX"}.... in JQUERY?
Posted
by nobosh
on Stack Overflow
See other posts from Stack Overflow
or by nobosh
Published on 2010-03-13T03:08:26Z
Indexed on
2010/03/13
3:17 UTC
Read the original article
Hit count: 295
Can someone help me understand how to create a JSON object like: [{"locationID":"16","locationDesc":"XXXX"}, {"locationID":"111","locationDesc":"XXXX"}, {"locationID":"12","locationDesc":"XXXX"}, {"locationID":"11","locationDesc":"XXXX"}]
I'd like to build this object via a LOOP, so some way to append over and over.
thxs
© Stack Overflow or respective owner